package com.hui.xiao.xiaohui.ball;

import android.app.ListActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.ArrayAdapter;

/**
 * Created by Administrator on 2016/5/26.
 */
public class SDStoreShow extends ListActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Intent intent = getIntent();
        String word = intent.getStringExtra("word");
        ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, word.split(","));
        setListAdapter(adapter);
    }
}
